package wiki.liven.pojo.bean;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;

import java.io.Serializable;
import java.util.Date;

/**
 * Created by qiangjun on 2017/3/2.
 * 订购信息
 */
@TableName(value = "orderinfo")
public class OrderData extends Model<OrderData>{


    @TableId
    private String orderRseultId;
    private String macOfUser;
    private String prodInstId;//用户证号
    private Date orderTime;//订购时间
    private Integer code;//订购返回结果代码
    private String message;//返回结果信息
    private String section;//专区



    public String getOrderRseultId() {
        return orderRseultId;
    }

    public void setOrderRseultId(String orderRseultId) {
        this.orderRseultId = orderRseultId;
    }

    public String getMacOfUser() {
        return macOfUser;
    }

    public void setMacOfUser(String macOfUser) {
        this.macOfUser = macOfUser;
    }

    public String getProdInstId() {
        return prodInstId;
    }

    public void setProdInstId(String prodInstId) {
        this.prodInstId = prodInstId;
    }

    public Date getOrderTime() {
        return orderTime;
    }

    public void setOrderTime(Date orderTime) {
        this.orderTime = orderTime;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getSection() {
        return section;
    }

    public void setSection(String section) {
        this.section = section;
    }

    @Override
    protected Serializable pkVal() {
        return this.orderRseultId;
    }
}
